﻿using HalconDotNet;
using System.Collections.Concurrent;

namespace NDK.AcqDevice
{
    public interface ILineLaser
    {
        HImage HeightImage(int timeout = 3000);
        HImage LuminanceImage(int timeout = 3000);
        bool IsConnected { get; }
        bool Connect(string id, int portID);
        bool Start();
        bool Stop();
        bool SwitchJob(string name);
        void LMIChangeScanLength(double length);
        void DisConnect();
        ConcurrentQueue<HImage> CQueneHeightImage { get; set; }
    }
    interface IPointLaser
    {
        bool Open();
        string Read(int index, int timeout);
    }
}
